var xlsx = require('./com/swancor/module/node-xlsx');
var obj = xlsx.parse('C:\\temp\\1.xlsx');
console.log(JSON.stringify(obj)); // {"worksheets":[{"data":[["索引1","索引2","c"]]}]}

var fs = require('fs');
var file = xlsx.build(obj);
fs.writeFileSync('b.xlsx', file, 'binary');

//{"worksheets":[
//               {"name":"Sheet1","data":[[{"value":11111,"formatCode":"General"},
//                                         {"value":2222,"formatCode":"General"},
//                                         {"value":3333,"formatCode":"General"}
//                                        ]],"table":false,"maxCol":3,"maxRow":1},
//               {"name":"Sheet2","data":[[{"value":"aaaa","formatCode":"General"},
//                                         {"value":"bbbb","formatCode":"General"},
//                                         {"value":"cccc","formatCode":"General"}
//                                        ]],"table":false,"maxCol":3,"maxRow":1},
//               {"name":"Sheet3","data":[[{"value":"a1","formatCode":"General"},
//                                         {"value":"a2","formatCode":"General"},
//                                         {"value":"a3","formatCode":"General"}
//                                        ]],"table":false,"maxCol":3,"maxRow":1}
//              ],"zipTime":56,"creator":"","lastModifiedBy":"",
//                "created":"2006-09-13T11:24:16.000Z",
//                "modified":"2014-05-14T00:52:07.000Z",
//                "activeWorksheet":2,"processTime":7}
